/*  ----------------------------------------------------------------------------
*	This file is part of the AS3This ActionScript 3 library.
*	Author: Steve Jones for G-RAFF <http://www.g-raff.com/>
*	Copyright (c) 2009 raffWorks Ltd.
*	----------------------------------------------------------------------------
*	Please see the notice at the bottom of the code before using or modifying this class.
*/
package com.as3this.core
{
	import com.as3this.interfaces.IShareOptions;
	
	public class ShareOptions implements IShareOptions
	{
		/**
		 * Standard Options
         * title: 	content title; no default
         * desc: 	content description; no default
         */
        
        protected var _title			:String;
        protected var _description		:String;
		
		
		/**
		 * Constructor
		 * <p>Creates a strongly-typed options object for sharing content</p>
		 * 
		 * @param title			Title of the shared content or link
		 * @param description	Description of the shared content or link
		 */ 
		 
		public function ShareOptions(title:String = null, description:String = null)
		{
			_title = title;
			_description = description;
		}
		
		/**
		 * Title of the shared content or link
		 */
		 
		public function get title() : String
		{
			return _title;
		}
		
		/**
		 * Description of the shared content or link
		 */
		 
		public function get description() : String
		{
			return _description;
		}
	}
}

/*
 *    AS3This is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 3 of the License, or
 *    (at your option) any later version.
 *
 *    AS3This is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with AS3This.  If not, see <http://www.gnu.org/licenses/>.
 */